package com.project.bean;

/**
 * 供应商实体类
 */
public class SupplierBean {
    /**供应商编号*/
    private int id;
    /**供应商姓名*/
    private String name;
    /**负责人*/
    private String incharge;
    /**负责人电话*/
    private String tel;
    /**供应商地址*/
    private String address;
    /**经营范围*/
    private String scope;

    public SupplierBean() {
    }

    public SupplierBean(String name, String incharge, String tel, String address, String scope) {
        this.name = name;
        this.incharge = incharge;
        this.tel = tel;
        this.address = address;
        this.scope = scope;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIncharge() {
        return incharge;
    }

    public void setIncharge(String incharge) {
        this.incharge = incharge;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    @Override
    public String toString() {
        return "SupplierBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", incharge='" + incharge + '\'' +
                ", tel='" + tel + '\'' +
                ", address='" + address + '\'' +
                ", scope='" + scope + '\'' +
                '}' + "\n";
    }
}
